/*
 * Copyright (c) 2016-2017 fulihui.com All right reserved
 * Project: information-core-170307
 * File name: DynamicNavbarQueryRequest.java
 */

package com.fulihui.information.request;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotBlank;
import org.near.servicesupport.request.AbstractServiceRequest;

/**
 * @author Willard.Hu on 2017/3/3 0003.
 */
@Setter
@Getter
public class DynamicNavbarQuerySingleRequest extends AbstractServiceRequest {
    private static final long serialVersionUID = 2750986514844862124L;
    /** 系统类型 {@link com.fulihui.information.enums.EAppType} */
    @NotBlank
    private String osType;
    /** 版本号 */
    @NotBlank
    private String version;
    /** 引导菜单代码 */
    @NotBlank
    private String navbarCode;

    public DynamicNavbarQuerySingleRequest() {
        // 向下兼容初始化获取第一个引导位置数据
        this.navbarCode = "NAVBAR_1";
    }
}
